﻿namespace D.Domain.SystemDomain.SysResourceDomain.Entities
{
    /// <summary>
    /// 操作资源
    /// </summary>
    public class SysActionAccessEntity : BaseEntity
    {
        /// <summary>
        /// 标识符
        /// </summary>
        public string? Key { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string? Name { get; init; }

        /// <summary>
        /// 控制器
        /// </summary>
        public string? ControllerName { get; set; }

        /// <summary>
        /// 函数
        /// </summary>
        public string? ActionName { get; set; }

        /// <summary>
        /// 显示名称
        /// </summary>
        public string? DisplayName { get; set; }

        /// <summary>
        /// 路由模板
        /// </summary>
        public string? RouteTemplate { get; set; }

        /// <summary>
        /// http版本
        /// </summary>
        public string? HttpVerb { get; set; }
    }
}
